﻿
using Mekiasm.Machine;

namespace Mekiasm.ElectricElement
{
    public class MetallurgicInfuserElement : Common.ElectricElement
    {
        ComponentMetallurgicInfuser Infuser;

        public MetallurgicInfuserElement(int x, int y, int z) : base(x, y, z)
        {
            Infuser = Instance.Machine as ComponentMetallurgicInfuser;
            Sound = new Common.SoundItem("metallurgicinfuser");
        }



        public override bool Simulate()
        {
            IncreasePower();
            Infuser.IncreaseFuel();
            MekRecipe.CircleCraft(Instance.Machine);
            PlaySound();
            return base.Simulate();
        }
    }
}
